package com.tanhua.commons.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author anshuai
 * @create 2021-01-25 15:16
 */
@Data
@ConfigurationProperties(prefix = "tanhua.oss")
public class OssProperties {

    private String accessKey;
    private String secret;
    //bucket(桶)名称
    private String bucketName;
    //bucket的访问路径
    private String url;
    //bucket的地域节点
    private String endpoint;
}
